﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Blog.DTO.BlogTeamMember;

/// <summary>
///     团队成员新增模型
/// </summary>
public class BlogTeamMemberAddDTO
{
    /// <summary>
    ///     团队成员编码
    /// </summary>
    [Required(ErrorMessage = "团队成员编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     团队成员名称
    /// </summary>
    [Required(ErrorMessage = "团队成员名称不可为空")]
    public string Name { get; set; }

    /// <summary>
    ///     团队成员标题
    /// </summary>
    [Required(ErrorMessage = "团队成员标题不可为空")]
    public string Title { get; set; }

    /// <summary>
    ///     团队成员介绍
    /// </summary>
    public string? Introduce { get; set; }
}